package cn.com.yusys.yusp.admin.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import cn.com.yusys.yusp.notice.dto.AdminSmNoticeDTO;

@FeignClient(name = "${service.feignclient.name.yusp-app-notice:yusp-app-notice}", path = "/api/adminsmnotice", fallback = AdminSmNoticeServiceHystrix.class)
public interface AdminSmNoticeService {
    
    @PostMapping("/noticeinsert")
    public int noticeInsert(@RequestBody AdminSmNoticeDTO adminSmNoticeDto);

}
